package archer.framework.ebean.test;

import org.avaje.agentloader.AgentLoader;
import org.junit.Before;

/**
 * @author christ
 * @date 2016/4/8
 */
public class Enhance {

    @Before
    public void enhance() {
        System.out.println("[archer ebean]>>>>>>>>>>>>>>>>>>>>>>>>>>>>enhance");
        if (!AgentLoader.loadAgentFromClasspath("avaje-ebeanorm-agent", "debug=1;packages=archer.**")) {
            System.out.println("avaje-ebeanorm-agent not found in classpath - not dynamically loaded");
        }
    }

}
